package DP.command.common.invoker;

import DP.command.common.comm.Command;

/**
 * @author msi
 * 调用者Invoker类
 */
public class Invoker {
    private Command command;

    public void setCommand(Command command){
        this.command=command;
    }

    public void action(){
        this.command.execute();
    }
}
